package com.appserver.web;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.annotation.Configuration;

@ServletComponentScan
@SpringBootApplication(scanBasePackages = {"com.appserver.web", "com.onepiece.im", "com.onepiece.cache", "com.liveinstars.api", "com.liveinstars.common", "com.appserver.resource"})
@MapperScan(basePackages = {"com.appserver.web.**.mapper","com.onepiece.im.**.mapper"})
@Configuration
public class AppServerApplication {

    public static void main(String[] args) {
        SpringApplication.run(AppServerApplication.class, args);
    }

}